import {get, post} from '@/axios/request'


// hihis机构查询
export function queryHospitalList(query) {
  return get(
      '/bsoft/queryHospitalList',
      query
  )
}

export function queryEscalationStatusList(query) {
  return post(
      '/bsoft/FoodborneIllness/queryEscalationStatusList',
      query
  )
}


//食源性报卡信息查询
export function searchUrl(query) {
  return post(
      '/bsoft/FoodborneIllness/searchUrl',
      query
  )
}


//食源性报卡上传
export function updateFoodborneIllness(query) {
  return post(
      '/bsoft/FoodborneIllness/updateFoodborneIllness',
      query
  )
}

//食源性报卡新建病例
export function loadFoodborneIllness(query) {
  return post(
      '/bsoft/FoodborneIllness/loadFoodborneIllness',
      query
  )
}

//食源性报卡删除病例
export function deleteFoodborneIllness(query) {
  return post(
      '/bsoft/FoodborneIllness/deleteFoodborneIllness',
      query
  )
}

//食源性报卡申请召回病例
export function recallFoodborneIllness(query) {
  return post(
      '/bsoft/FoodborneIllness/recallFoodborneIllness',
      query
  )
}

//食源性报卡撤回病例
export function revokeFoodborneIllness(query) {
  return post(
      '/bsoft/FoodborneIllness/revokeFoodborneIllness',
      query
  )
}




